!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="778d50b3-fbe7-400c-8d95-63c9bc430ad1",e._sentryDebugIdIdentifier="sentry-dbid-778d50b3-fbe7-400c-8d95-63c9bc430ad1")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1964],{6391:(e,t,s)=>{s.d(t,{A:()=>j});var l=s(37876),r=s(14232),i=s(48762),a=s(70654),n=s(26630),d=s(96010),m=s(78173),o=s(94952),x=s(51991),c=s(44712),p=s(93201),h=s(84944),u=s(8786),g=s(89099);let f=({loading:e,price:t})=>{let[s,r]=(0,n.ID)(!1),{query:i}=(0,g.useRouter)(),a=i.error;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[e?(0,l.jsx)(d.A,{width:100,height:20}):(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)("span",{className:"text-[1rem] font-semibold text-mediumDanger sm:text-[1.25rem]",children:t}),(0,l.jsx)(h.A,{})]}),(0,l.jsx)(p.A,{className:"my-2 lg:my-0 lg:max-h-10",onClick:()=>r(!0)})]}),(0,l.jsx)(u.A,{placement:"hotel-tabs-featured-deal",open:s,handleClose:()=>r(!1),error:a})]})};var w=s(73591);let j=e=>{let{sections:t,availabilityMode:s,className:p,buttonLabel:h,showShareButton:u}=e,g=(0,c.q)(),j=(0,r.useRef)(null),[b,y]=(0,n.ID)([]),{tHotels:v}=(0,a.zg)(),N=((e,t)=>{let[s,l]=(0,n.ID)(t),i=(0,r.useRef)(s);return(0,n.uV)(()=>{i.current=s},[s]),(0,n.uV)(()=>{let s=e.map(e=>({id:e.id,element:document.getElementById(e.id)})).filter(e=>null!==e.element);if(0===s.length){i.current!==t&&(i.current=t,l(t));return}if("u"{let e=0===r.size?(()=>{let e=(0,o.BC)(s,({element:e})=>{let t=e.getBoundingClientRect();return t.top<=60&&t.bottom>60});if(e)return e.id;let l=s.find(({element:e})=>e.getBoundingClientRect().top>60);return l?.id??s[s.length-1]?.id??t})():Array.from(r.values()).sort((e,t)=>{let s=Math.abs(e.boundingClientRect.top-60),l=Math.abs(t.boundingClientRect.top-60);return s!==l?s-l:t.intersectionRatio-e.intersectionRatio})[0].target.id;e!==i.current&&(i.current=e,l(e))},n=new IntersectionObserver(e=>{e.forEach(e=>{let t=e.target.id;e.isIntersecting?r.set(t,e):r.delete(t)}),a()},{root:null,rootMargin:"-60px 0px -70% 0px",threshold:[0,.1,.25,.5,.75,1]});return s.forEach(e=>{n.observe(e.element)}),a(),()=>{n.disconnect(),r.clear()}},[t,e,l]),s})(t,t[0].id);return(0,n.uV)(()=>{y(t.filter(e=>null!==document.getElementById(e.id)))},[]),(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{ref:j,className:(0,n.xW)("w-full border-b border-b-secondaryGrey sticky top-0 transition-all bg-light z-[9]",p),children:(0,l.jsx)("div",{className:i.IP,children:(0,l.jsxs)("div",{className:"flex justify-between items-center",children:[(0,l.jsx)("div",{className:"flex",children:b.length>0?b.map(e=>(0,l.jsx)("button",{onClick:()=>(e=>{let t=document.getElementById(e);if(t){let e=j.current?.getBoundingClientRect().height??0,s=window.scrollY+t.getBoundingClientRect().top-e-3;window.scrollTo({top:s,behavior:"smooth"})}})(e.id),className:(0,n.xW)("inline-block py-3 lg:py-4 lg:px-6 text-sm font-normal text-primary hover:bg-softBlue",x.uC.isRoundedForm?"rounded":"rounded-none",N===e.id?"shadow-tabIndicator rounded-b-[0]":"",u?"max-[1000px]:px-3.5 px-4":"px-4"),children:v(e.i18Key)},e.id)):t.map(e=>(0,l.jsx)("div",{className:"max-lg:flex max-lg:items-center py-3.5 px-[14px] lg:px-[22px]",children:(0,l.jsx)(d.A,{width:60,height:17})},e.id))}),(0,l.jsxs)("div",{className:(0,n.xW)(u?"flex items-center gap-2":""),children:[g.isFeaturedHiddenRoom?(0,l.jsx)(f,{loading:g.loading,price:g.roomPriceFormatted}):(0,l.jsx)(m.A,{buttonClassName:(0,n.xW)("my-2 lg:my-0 lg:max-h-10",u?"px-3 min-[1000px]:px-8":""),priceClassName:"hidden lg:flex",buttonLabel:s?v("chooseRoom"):h||v("showPrices"),breakpoint:i.mN.md,loadingPrice:g?.loading,price:g?.roomPriceFormatted,showPrice:!0,cssProps:"w-max min-w-[unset] flex flex-row justify-end gap-4 md:flex md:w-max"}),u&&(0,l.jsx)(w.w,{className:"max-[1000px]:w-[48px] max-[1000px]:h-full px-0 min-[1000px]:px-4 max-h-12 lg:max-h-10",labelClassName:"max-[1000px]:hidden"})]})]})})})})}},30055:(e,t,s)=>{s.d(t,{A:()=>f});var l=s(37876);s(14232);var r=s(48762),i=s(38294),a=s(13363),n=s(19028),d=s(26630),m=s(74672),o=s(15023),x=s(70654),c=s(48739),p=s(51991),h=s(26807),u=s(3892);let g=h.d.appleMapsKey,f=e=>{var t,s;let{map:h,title:f,coordinates:w,imageClassName:j="",className:b="",isShowImage:y=!0,children:v}=e,[N,C]=(0,d.ID)(!1),k=(0,o.Y3)(),{tHotels:I}=(0,x.zg)(),P=(0,u.Uw)(),F=(t=P?.colors?.primaryHex,s=p.yq.primaryBlue,t?t.startsWith("#")?t:`#${t}`:s);return h?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:(0,d.xW)("cursor-pointer",b),onClick:e=>{e.preventDefault(),C(!0),(0,n.sx)("open_map",{})},children:[y&&(0,l.jsx)(i.A,{image:h.mapImage,size:{default:50},className:(0,d.xW)("object-cover rounded max-h-[200px] sm:max-h-[350px] h-full w-full",j)}),v]}),(0,l.jsx)(a.j,{modalName:"hotelMap",open:N,onClose:()=>{C(!1)},headerClassName:"grid grid-cols-[1fr,auto] items-center",headerComponent:(0,l.jsx)("p",{className:"text-[1rem] font-medium text-primaryFont text-center pl-9",children:f}),children:(0,l.jsxs)("div",{className:"mt-[49px] -mx-5 -mb-5 grid h-full relative",children:[(0,l.jsx)(r.sP,{onClick:()=>{C(!1),k?.handleScrollClick&&k.handleScrollClick()},className:"absolute bottom-5 left-[50%] translate-x-[-50%] z-[10] max-h-10",children:I("chooseRoom")}),(0,c.b)()?(0,l.jsx)(m.T5,{onLoad:()=>{},initialRegion:{latitudeDelta:.015,longitudeDelta:.015,centerLatitude:w.lat,centerLongitude:w.lng},token:g,children:(0,l.jsx)(m.pH,{latitude:w.lat,longitude:w.lng,title:f,color:F})}):(0,l.jsx)(i.A,{image:h.mapImage,size:{default:50},className:(0,d.xW)("object-cover rounded h-full w-full",j)})]})})]}):null}},84492:(e,t,s)=>{s.d(t,{h:()=>w});var l=s(37876),r=s(14232),i=s(70654),a=s(15023),n=s(48762),d=s(13363),m=s(27888),o=s(23748);s(32283),s(96637),s(70031);var x=s(38294),c=s(59969),p=s(14694),h=s(96957);let u=e=>{let{selectedImage:t,handleShowGallery:s,photos:i,handleImageClick:a}=e,d=(0,r.useRef)(null),u=(0,r.useMemo)(()=>i.findIndex(e=>e.id===t?.id),[t]),g=i.length;return(0,l.jsx)("div",{className:"flex overflow-hidden h-full gap-4 pl-4 pr-4 my-4 md:gap-8 md:pl-8 md:pr-2 md:my-8",children:(0,l.jsx)("div",{className:"h-full w-full flex relative",children:(0,l.jsx)("div",{className:"rounded-lg h-[inherit] overflow-hidden mx-auto my-0 relative",children:(0,l.jsxs)(c.A,{onClose:s,children:[(0,l.jsxs)(m.RC,{ref:d,navigation:{prevEl:".photo-viewer-swiper-prev",nextEl:".photo-viewer-swiper-next"},slidesPerView:"auto",spaceBetween:8,centeredSlides:!0,loop:!0,initialSlide:u,onSlideChange:e=>{a(i[e.realIndex])},style:{width:"100%",height:"100%"},modules:[o.Vx],children:[(0,l.jsx)(h.A,{icon:p.CeG,className:"photo-viewer-swiper-prev absolute top-[50%] ltr:left-[46px] rtl:right-[46px] ltr:-translate-x-[50%] rtl:translate-x-[50%] -translate-y-[50%] hidden sm:flex"}),i.map((e,t)=>(0,l.jsx)(m.qr,{style:{display:"flex",justifyContent:"center",alignItems:"center",textAlign:"center"},children:(0,l.jsx)("div",{className:"w-full h-full max-w-max",children:(0,l.jsx)(x.A,{image:e.image,size:{default:50,sm:100,lg:75,xl:75},className:"max-w-max object-contain",style:{height:"100%",width:"100%",display:"block"}})})},`${e.id}-${t}`)),(0,l.jsx)(h.A,{icon:p.dmS,className:"photo-viewer-swiper-next absolute top-[50%] ltr:right-[46px] rtl:left-[46px] ltr:translate-x-[50%] rtl:-translate-x-[50%] -translate-y-[50%] hidden sm:flex"})]}),(0,l.jsxs)("div",{className:"absolute flex items-center gap-2 bottom-6 left-6 z-[5] px-2 py-1 bg-white rounded-full border border-secondaryGrey",children:[(0,l.jsx)(p.gc2,{icon:p.VLQ,size:"lg",className:"text-primary"}),(0,l.jsxs)("p",{className:n.xT,children:[u+1,"/",g]})]})]})})})})};var g=s(78173),f=s(7976);let w=e=>{let{availabilityMode:t,open:s,handleClose:m,hotelData:o,title:x,photos:c,selectedImage:p,handleImageClick:h,isShowPrice:w=!0}=e,{tHotels:j}=(0,i.zg)(),[b,y]=r.useState(!0),v=(0,a.Y3)(),N=e=>{h(e),b&&y(!1)};return(0,l.jsx)(d.j,{open:s,modalName:"gallery",onClose:()=>{m(),y(!0)},className:`p-[0] gap-y-0 gap-x-0 rounded-[0] sm:rounded-md ${b?"":"!rounded-[0px]"}`,headerClassName:"relative flex items-center p-4 gap-4 md:p-8",headerComponent:(0,l.jsxs)("div",{className:"grid items-center gap-3 grid-cols-[1fr,auto] w-full",children:[(0,l.jsxs)("h2",{className:`${n.tM} overflow-hidden`,style:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical"},children:[j("photoGallery"),x&&` - ${x}`]}),w&&(0,l.jsx)(l.Fragment,{children:t?(0,l.jsx)(n.sP,{className:"hidden sm:flex min-w-[144px]",onClick:()=>{v&&v.handleScrollClick(),m()},children:j("showPrices")}):(0,l.jsx)(f.R,{children:(0,l.jsx)(g.A,{showPrice:!t,hotelData:o,price:o?.commonDescription.basePriceFormatted,cssProps:"hidden flex-row justify-end min-w-[300px] md:flex"})})})]}),children:(0,l.jsxs)(f.R,{children:[(0,l.jsx)(l.Fragment,{children:b?(0,l.jsx)(i.nD,{handleImageClick:N,selectedImage:p,photos:c}):(0,l.jsx)(u,{selectedImage:p,handleShowGallery:()=>{y(!0)},handleImageClick:N,photos:c})}),!t&&w&&(0,l.jsx)("div",{className:"block bg-white shadow-floatingPriceLight border border-secondaryGrey fixeed z-[1] bottom-0 right-0 left-0 p-4 md:hidden",children:(0,l.jsx)(g.A,{hotelData:o,price:o?.commonDescription.basePriceFormatted})})]})})}},91793:(e,t,s)=>{s.d(t,{A:()=>f});var l=s(37876);s(14232);var r=s(70654),i=s(48762),a=s(61884),n=s(26630),d=s(51991),m=s(49700),o=s(35572),x=s(14694),c=s(94952);let p=({data:e})=>(0,l.jsx)("div",{className:"grid grid-cols-[6fr,auto]",children:(0,l.jsxs)("div",{className:"overflow-hidden grid gap-2 sm:gap-3",children:[(0,l.jsxs)("div",{style:{direction:"ltr"},className:"flex ltr:flex-col gap-2 ltr:sm:flex-row sm:items-center rtl:flex-col rtl:items-end rtl:sm:items-center rtl:sm:flex-row-reverse",children:[(0,l.jsx)("h3",{style:{display:"-webkit-box",WebkitLineClamp:1,WebkitBoxOrient:"vertical"},className:(0,n.xW)("text-[1rem] leading-[120%] font-medium text-primaryFont overflow-hidden m-0 md:text-[1.125rem] text-ellipsis"),children:e.title}),e.stars?(0,l.jsx)(o.A,{stars:e.stars,cssProps:"inherit row-span-auto sm:row-span-2 md:row-auto"}):null]}),e.address&&(0,l.jsxs)("div",{className:"flex gap-2",children:[(0,l.jsx)(x.gc2,{icon:x.SLY,className:"text-primaryGreyFont w-4 h-4 pt-0.5"}),(0,l.jsx)("p",{className:"text-[0.925rem] text-primaryFont font-normal leading-[120%]",children:(0,c.M0)(e.address)})]})]})});var h=s(95854),u=s(35891);let g=({hotelCards:e,priceDesc:t})=>{let s=(0,u.kc)(),{tCommon:r}=(0,i.FC)();return(0,l.jsx)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-4 mt-8",children:e.map(e=>{let o=e.basePrice?(0,i.up)(s,{amount:e.basePrice.amount,currency:e.basePrice.currency}):null;return(0,l.jsx)(a.A,{href:e.url,target:"_blank",children:(0,l.jsxs)("div",{className:"grid grid-cols-[auto,1fr]",children:[(0,l.jsx)(m.km,{coverImage:e.coverImage,imageClassName:(0,n.xW)(d.uC.isRoundedForm?"rounded-tl-[10px] ltr:rounded-bl-[10px]":"rounded-none","max-h-full min-h-[125px] sm:min-h-[125px] md:min-h-[125px] lg:min-h-[125px] h-[175px] sm:h-[200px] w-[110px] xs:w-[135px] sm:w-[220px] md:w-[275px] lg:w-[220px] min-w-[unset] md:max-w-[unset] sm:min-w-[unset] sm:max-w-[unset] min-w-[unset] max-w-[unset]"),cssProps:(0,n.xW)("h-full sm:max-w-[220px] sm:min-w-[220px]","max-h-full min-h-[125px] sm:min-h-[125px] md:min-h-[125px] lg:min-h-[125px] h-[175px] sm:h-[200px] w-[110px] xs:w-[135px] sm:w-[220px] md:w-[275px] lg:w-[220px] md:min-w-[unset] md:max-w-[unset] sm:min-w-[unset] sm:max-w-[unset] min-w-[unset] max-w-[unset]")}),(0,l.jsxs)(m.NF,{cssProps:(0,n.xW)(d.uC.isRoundedForm?"rounded-br-[10px] ltr:rounded-tr-[10px]":"ltr:rounded-br-[0px] ltr:rounded-tr-[0px] rtl:rounded-bl-[0px] rtl:rounded-tl-[0px]","max-h-full p-3 md:p-5"),children:[(0,l.jsx)(p,{data:e}),e.distanceToHotel&&(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(x.gc2,{icon:x.SLY,className:"text-primaryGreyFont w-4"}),(0,l.jsx)("p",{className:"text-[0.925rem] text-primaryFont font-normal leading-[120%]",children:e.distanceToHotel})]}),(0,l.jsxs)("div",{className:"mt-auto flex ltr:flex-row rtl:flex-row-reverse justify-between items-center",children:[(0,l.jsx)(h.A,{reviews:e.reviews,reviewScore:e.reviewScore}),(0,l.jsxs)("div",{className:"grid ltr:justify-items-end rtl:justify-items-start",children:[(0,l.jsxs)("div",{className:"flex rtl:flex-row-reverse items-end sm:items-center gap-1 sm:gap-2",children:[(0,l.jsx)("p",{className:"text-primaryGreyFont font-normal sm:leading-[1rem] text-[0.75rem] md:text-[0.875rem]",children:r("fromPrice")}),(0,l.jsx)("div",{className:"flex ltr:items-end rtl:items-start ltr:sm:items-center rtl:sm:items-center flex-col sm:gap-1 sm:flex-row",children:(0,l.jsx)("span",{className:"font-medium text-primaryFont text-[1rem] sm:text-[1.25rem]",children:o||e.basePriceFormatted})})]}),t&&(0,l.jsx)("p",{className:"text-primaryGreyFont font-normal text-[0.75rem] md:text-[0.875rem]",children:t})]})]})]})]})},e.url)})})},f=({hotelData:e,showMoreLink:t})=>{let{tHotels:s}=(0,r.zg)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex items-center justify-between gap-4 mb-8",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:i.rc,children:s("otherPropertiesYouMayLike")}),(0,l.jsx)("span",{className:i.Sl,children:s("basedOnPropertiesPreviouslyViewed")})]}),t&&(0,l.jsx)("div",{className:"hidden sm:block",children:(0,l.jsx)(r.dy,{showMoreLink:t})})]}),(0,l.jsx)(g,{hotelCards:e}),t&&(0,l.jsx)("div",{className:"hidden sm:block w-max mx-auto",children:(0,l.jsx)(r.dy,{showMoreLink:t,className:"mt-6"})})]})}}}]);